// IBookManager.aidl
package com.example.myapplication;
// 即使包名一样，也需要import
import com.example.myapplication.Book;

// Declare any non-default types here with import statements

interface IBookManager {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    oneway void addBook(in Book book);

    List<Book> getBookList();
}